package com.fly.estore.dao;

import com.fly.estore.domain.SaleInfo;

import java.util.List;

/**
 * Created by Fly on 2016/4/28.
 */
public interface SaleDAO {

    public int addSaleInfo(SaleInfo saleInfo);

    public int updateSaleInfo(SaleInfo saleInfo);

    public int deleteById(String SaleId);

    public SaleInfo getById(String saleId);

    public List<SaleInfo> getList();

    public List<SaleInfo> getListByMemberId(String memberId);

    public float getSalePrice(String date);

    public List querySalePrice(String date);
}
